package com.music.service.songs.service;

import java.util.Collection;
import java.util.List;
import java.util.Set;

import com.music.service.playlists.beans.Playlist;
import com.music.service.songs.beans.Song;

public interface SongService {
	public Song addNewSong(Long pMemberId,Song pSong);

	public Song addNewSong(Long pMemberId,String pSongName);

	public void deleteSong(Song pSong);

	public Song editSong(Song pSong);

	public boolean checkMemberPermissionForSong(final Long pMemberId,final Long pSongId);
	
	public boolean setPreferredUrlForSongForMember(final Long pMemberId, final Long pSongId,final Long pUrlId) ;

	public List<Song> viewSongs(Collection<Long> pSongIds);
	
	public List<Song> getSongsFromPlaylist(Playlist pPlaylist) ;
	public List<Long> getUrlsForSongsForMember(Long pMemberId,Set<Long> pSongIds);
		
}
